﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceZero.Business.Models
{
    /// <summary>
    /// Args 对象
    /// </summary>
    public class AddOperationRecordArgs
    {
        /// <summary>
        /// 动作组id
        /// </summary>
        public string ActionComboId { get; set; }
        /// <summary>
        /// 动作id
        /// </summary>
        public string ActionId { get; set; }
        /// <summary>
        /// 目标id
        /// </summary>
        public string TargetId { get; set; }
        /// <summary>
        /// 目标类型
        /// </summary>
        public string TargetType { get; set; }
        /// <summary>
        /// 用户id,记录当前动作执行人
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 目标所属id,默认挂载在unknown上，如果需要统计如某个用户拥有的目标对象如被点赞情况，必须传此参数
        /// </summary>
        [DefaultValue("unknown")]
        public string TargetOwnerId { get; set; } = "unknown";

        /// <summary>
        /// 记录备注
        /// </summary>
        [DefaultValue("")]
        public string Remark { get; set; } = "";
    }
}
